fix deleting