fixbug delete_entry