Fix bug in /dashboard