DEBUG should not be formated as constant if it is used as a variable.  Should be probably be refactored.