fixed native argument indexing