fixed a few minor setting up parameters for queue access.