fixed valueof method to handle null value
Merge pull request #126 from baepiff/CmdUtils/valueof/bug

fixed valueof method to handle null value