added regex to filter out the ???? in the messages