added http errors