remove max_links