removes old debugging code