Imam-ul-Haq out of danger, will be back in the team soon