fixed processing barrier, and sending modified message instead of original back to client