Fixes invalid yaml file