fix a bug with the yaml checker