refine filter implementations