Correcting yaml file errors