cleanup log statements