remove erroneous logging statements