real part & infinity prevent