Fixed native function call

Fixed native function call