fixed some typos and docblock update