correcting some mistakes in tutorial