exponential map singular point bug fix