fix equals problems
Merge pull request #9 from otaviojava/master

fix equals problems