validate config called