fix debug setting
new stuff