set UID before use, or it will be null
Merge pull request #33 from detecti1/master

set UID before use, or it will be null