fix findFixedPoint gradient

fix #380