make it work when NATIVE doesn't exist