Fixed the ResourceManager static call.