tuple comparison is wrong