Read the following sentence:
Each of the students were excited to present their projects during the class.
Which option corrects the grammatical error in this sentence?