fix website server config flag handling bug