check for nil value
changes
Merge pull request #28 from jsuchome/master

check for nil value