Fixed http errors.