Minor bugfix on dump() method
Merge pull request #55 from Uby501/master

Minor bugfix on dump() method