refine the config consts