How to fix teacher duplicates #1