fixing settings that were toggled during debug