removed doubles from queue