Improve the validateConf
Merge pull request #6 from peerster/master

Improve the validateConf