removing q references