Fixed bug in arguments in statistics