Fixed error parsing yaml file