fix link.rel may not exists in buttons