error in string serialize