Fixed typos and minor improvements