toMB applied as map, cleanup