fixing duplicates on lesson controller