removed bad queries