Fixing config bugs.