fit resource-links to new structure