fixed comparing with statistic