changed queue#getAttributes to take an array of names, fixed bug