removes trace statements