fixing issues faced while evaluating status
fixing the wrongly used log statement