Some fixing, changed the way the get method works in ResourceManager