fix the bias bug in psi