fix debug