correct spellings
add some comments
some error fixed
fixed typos
fix typos