Fix NSString to char format