add amqp initialization
fixes amqp initialization