bug in equivalent checking.
Merge branch 'master' of https://github.com/fredfeng/Scuba