dont call construtor if value is null