fixed infinite redirection handling