Remove unnessery links