filter invalid link