Fixed some types

(compear -> compare)
Merge pull request #45 from dtaskoff/patch-2

Fixed some types