optimize out links