Removed double getQueue call