Unexpected end of molecule file

I am running DPD simulations about surfactants. When I create a molecule file and it can works well. When I insert some atoms, I get the ERROR: Unexpected end of molecule file (../molecule.cpp:1275). I cannot figure out why I got this mistake and it seems it is a bug in the package. Here is the content of my molecule file.

LAMMPS 3d molecule file

           10 atoms
           9 bonds

Coords

  1 0 0 0
  2 0.5 0 0
  3 1 0 0
  4 1.5 0 0
  5 2 0 0
  6 2.5 0 0
  7 3 0 0
  8 3.5 0 0
  9 2.5 0.5 0
  10 3 0.5 0

Types

     1 1
     2 2
     3 2
     4 2
     5 2
     6 2
     7 2
     8 2
     9 2
     10 2

Masses

    1 1
    2 1
    3 1
    4 1
    5 1
    6 1
    7 1
    8 1
    9 1
   10 1

Bonds

   1 1 1 2
   2 1 2 3
   3 1 3 4
   4 1 4 5
   5 1 5 6
   6 1 6 7
   7 1 7 8
   8 1 6 9
   9 1 9 10

Special Bond Counts

1 0 0 0
2 0 0 0
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
9 0 0 0
10 0 0 0

Special Bonds

Aren’t there supposed to be 10 lines after the Special Bonds line at

the end?

Steve