for some reason i had it tried to do ping on null

if you have better insight to investigate the reason go for it...
Merge pull request #2 from shimondoodkin/patch-1

for some reason i had it tried to do ping on null