fix the generated filter file.