Fix save-sign StringIndexOutOfBoundsException