Fix url issue.

Fix URL issue when redirect to dashboard from inactive page.