fix object comparison
cbugg: close bug-755