fixed redirecting (dont know how)