fix: relink would overwrite file