stats collection fix