fix <=> to cmp.