fixed returned errors in Config.check()
panic "should not happen if Config.check() was called before"
Merge pull request #1 from ungerik/master

fixed returned errors in Config.check()