fix rcpi call