clean up the debug codes