Corrects some mistakes