fix bug filter