Fix error setting the right queue