fixed multi instance plugin bug

related to message sending