removing error log statement