Fix some properties when creating new config files