Unstable version bug fix 1.

Fix1: the last image can be used for pole calibration.