minor changes of ResourceManager