Fix debug setting