modified some problematic logging statements