fix bug about hosting configuration(config.mode)