Fixed "scope" bug on DashboardController