validated the yaml