Fixing mistake in dashboardaction