Fixed a some minor bugs.

Nope.