changes some mistakes