It’s probably deleting residues as it reads the PDB in. Check your input file to ensure:
A) all atoms have nonzero occupancies,
all residues have the four backbone heavyatoms defined (N, CA, C, O)
If those two things are both true, attach the PDB and I’ll see if there’s a problem I can spot.