committing with remove hashmap element