minor refactoring to avoid unnecessary work when vValue is null