Fix some configuration file errors