Fixed http errors