spec for dashboard_stats trade and bug fix