fixed some formatting and typos