fix dlnm class code; suppress resourceRole