bugfix: use temp array for each request