Bug removed from lammps output subroutine