Fix new resource creation, I think