correct statistics error