move brackets into link