Better formatting of the string sent to iPhone