fixed 302 moved error