fix more typos

Tidy up source a bit