fix exception when there is master slave resource in LRM