fix q, task bug