Fix sign serialization error