fix dashboard routing