fix inherited resources in publishing