fixed some spelling errors and improves docs