fix some spelling mistakes

... and changed "the other direction" to "the opposite direction"