Fix pc file with active flags only