add constants handler and configSetting