bugfix: mapping response to array