avoid to report reflection error when the method does not exist