fix backup bug, linking now works fine