fix problem comparing arrays
cbugg: close bug-754