correct the config for data handler