fix up log statement