delete unnecessary links in client header