safer get function
fix get function to prevent #11
Merge pull request #69 from yasinuslu/patch-deep-get

safer get function