Corrected publishing to topic