change conf.DEBUG handling