modify filter pattern