fix for invalid root on ping
Merge pull request #33 from joshgoodwin/master

fix for invalid root on ping (Issue #32 and #29)