fixed bug in `equal?`