minor update keypoint compare