fixing queue