Fix bug with map

Signed-off-by: Ken Barber <ken@bob.sh>