Fixed a few stupid mistakes.

Signed-off-by: revelator <ralphengels@gmail.com>