Fixing the debug switch.