fix sigma2 error