removing DEBUG from base and moving it to local