fix error on multiple requests