removes log statement and clean up