remove unnecessary deletion from hash map