fix for native not being an integer