fix sign consistency