error when deleting first entry