fixed typos, corrected docs