fixed a publish_port issue with the message