Fixed some copy-paste and type errors.

just some little fixes, hope it'll help