Corrected splitting of msg text