Fixed typos & code formatting