fix some config bugs