Fix when yaml file is empty