implement hash remove