fix long comparisons [ci skip]