modified array to only end messages with \x1A