Fixing the dashboard example