Fixed some typos and a variable.