some minor bugfixes in pbc transport