clean up link object