filtering bug fixed