Fix type that broke writing or resource list