fix rabbitmq crash