fixed stuck proxy redirection