remove unnecessary seq
fix bug where deleting key that doesnt exist in map can cause error