fixes several bugs
fixes several bugs

Stackato-Apps/RabbitMQSimulator,RabbitMQSimulator/RabbitMQSimulator,RabbitMQSimulator/RabbitMQSimulator,adrianzhang/RabbitMQSimulator,adrianzhang/RabbitMQSimulator,Stackato-Apps/RabbitMQSimulator