fix some config errors. fixes #4