Fixing debug setting