Fix writeString create param