fix request errors