removes debugging artifacts