fix for newer rabbitmq version