fixed native call bug