Fix improper redirect.