function delmap remove