Fixed some spelling errors

There were a few variable names that were spelled wrong