fixed ResourceManager