try to fix debug mode