fix the definition of sign