fix setting queue