Fix bug with dashboard