fix q dependency