diff --git a/python/examples/vizplotgui_atomeye.py b/python/examples/vizplotgui_atomeye.py
index 02f119b7260c0411316f13270c65d53aa642b306..8f5f4e3dfff638264cf8dd17ce5f07edad185528 100755
--- a/python/examples/vizplotgui_atomeye.py
+++ b/python/examples/vizplotgui_atomeye.py
@@ -73,7 +73,7 @@ lmp = lammps()
 
 lmp.file(infile)
 lmp.command("thermo %d" % nfreq)
-lmp.command("dump python all cfg %d tmp.cfg.* id type xs ys zs" % nfreq)
+lmp.command("dump python all cfg %d tmp.cfg.* mass type xs ys zs id" % nfreq)
 
 # initial 0-step run to generate initial 1-point plot, dump file, and image