Fixed typos that might cause bugs.