fix nested resource link