Fix any grammar errors in the text.
If we want to eat dinner there, we have to go there as soon as the last class was finished.
If we want to eat dinner there, we have to go there as soon as the last class is finished.