fixed API to use Link and Unlink properly, starting filling in truncate