correcting some mistakes