imporve the message publish