Wrote parseMessage empty string pattern