Fix issue with request error