checking statistics bugs
fix 184, 185, 190