fixed typos from Andrew