fix deleting package