Fixes a notice regarding the debug variable.