removes log statements