fix the bug in creating exchange on AMQP