fix debug setting for deploy