make a copy before map()ing a:000

unless doing so, got a type error