fix a log statement