change q to filter_q param