Trying to fix the redirection issue.