NullPointerException bug fixed

when get a key it will throw NullPointerException...
Merge pull request #36 from xq0804200134/master

NullPointerException bug fixed