tried to update yml to handle error