In Rapi, set master correctly