debug, rabbitmq fixes