fixes compute_resources#new