fixed syntax error in log statement