fix error on filter