avoid duplicate messages.
avoid duplicate messages.