fix broken stats rendering on dashboard