ResourceManager fix.