ransac fix