fix reference point for optical duplicate detection