fixing message delimiter removal