document ideomatic bug, simplify comparison