fix malformed log statement