Adapt to new resfix