fix filter array