flip const in config