Fixed a redirection problem