cleanup some erroneous log statements