fixed sample size error