Disable debug, fix main config.