a bit of link cleaning