initialize queue ids slice