native call bug fix