fix bug delete
delete handle now map function, delete item if function return true