Fixed some bugs.

Some typos I forgot to changed :(