check duplicate entry's