Fixing some http errors