dont call construtor if value is null
Merge pull request #1 from luka5/master

dont call construtor if value is null