fix up queue