remove debugging code added by error