some minors config bugs