link clean up