[shared] range validator fix