fix a comparison