Config validation