fix filter with missing data