fixes typos and formatting