if keypoints are empty we crash - this is now fixed