Fixed several errors
Fixed typos