config value validation