removing non existing links