change type of _Map