fix a bug in config
NotFound for debug = false