Fixed incorrect usage of "native" method

Previous implementation would always return an empty String.
Merge pull request #1 from isabanin/patch-1

Fixed incorrect usage of "native" method