corrected publish message