changed DEBUG_TOGGLE from 'None' to None