bugfix: save response values in the correct variable