map insert and erase fixed