adding oneconf disable and fixing DEBUG_MODE