fixes stats tests