Fix error following the new pc struct formta