code cleaning
typos corrected