Fixed spell bugs.
Fixed minor bugs.