fixed sending message counter