config bugs fixed