fixup filter script