fix when newValue is null issue