remove all usage of getNativeValue