fix debug log