--- lib/bio/db/pdb/pdb.rb	2007-12-28 14:43:44.000000000 +0000
+++ lib/bio/db/pdb/pdb_mod.rb	2008-04-01 02:32:55.000000000 +0100
@@ -1558,6 +1558,9 @@
         when 'TER'
           if c_atom
             c_atom.ter = f
+            cChain = nil
+            cResidue = nil
+            cLigand = nil
           else
             #$stderr.puts "Warning: stray TER?"
           end
