fix sign-compare