fix id in del method