fix invalid conf