fixed routing to dashboard