bugfixes to altid_tlp
bugfix
better error catching
stray debug line