fixed some minor typos/indentation problems