remove newline from apns error string