Fixes amqp publish