fix dump bug
Merge pull request #37 from teharrison/master

fix dump bug