fixes to PBC index