Revert "Fixed some spelling errors and var names"

This reverts commit 20a03056ef1784454f68af8cbe57191ee2512a7b.