fix html redirection