fix debug setting