fixed a bug in PDBprints