fix formatting and typos