error while printing map
received a string
  foo
