fix sign error in ios