move last link tag into body