fix bug with request