don't set if result var is null