Change add_fly_hole to add_hole when write failed