Fix sign break bug