fix compare to
Merge pull request #27 from otaviojava/compare_to

fix compare to