fixed message counter on receiving