asserting in ResourceManager