use raw format instead of base64 because iphone coding error