check duplicate against last write position