fixed issue with rho=0 case