resourcemanager fix