Fix for statistics