message receiving bugfix