fixing amqp