fix pdf filter