added message event for checking the name of publisher