finish timing
 set debug to undef