check for duplicate stems