Cleaning debug code