Fixed UI redirection issue.