minor spelling changes, remove duplicate statements