moved the code
proper handling of existing links' TV