fix debug setting, work with 1 and 0