Fixed consistency issue with sign