fixed bug in messenger