Bug while installing deb package over ssh

deb package teamviewer_15.0.8397_amd64
kubuntu 19

problem:

my desktop computer took the display name of my laptop. however the proper name is displayed right inside the settings.
on my desktop on the GUI upper left side i have my laptop display name/hostname
on my desktop settings i have my desktop display/hostname
on my desktop the ID is unique. NOT equal laptop's  ID.

that messes with the contact list. now both computers don't see each others name on the list. laptop won't display itself, which is ok. Desktop thinks its a laptop and wont display laptop's name.

how to replicate problem:

  1. get on laptop(computerA) install teamviewer_15.0.8397_amd64.
  2. login authenticate over email, everything working fine
  3. open terminal on laptop
  4. copy teamviewer_15.0.8397_amd64 over to desktop(computerB) with scp(ssh)
  5. open terminal and ssh @DESKTOP@computerB
  6. now SSHed to computerB we install package with command:
    sudo apt install ./teamviewer_15.0.8397_amd64.
  7. installation complete. close terminal killing any ssh connection
  8.  physically go to desktop, open teamviewer for the first time
  9. wow whats going on here?!?!? thats not my computer name
  10. open teamviewer settings check for name which is good
  11. Desktop(computerB) thinks its a laptop computer

workaround:

manually add each others ID to contact list with any Alias.

i have tried to remove and reinstall the installation with --purge with no success
the configuration file is persistent. and i dont know where is located

my best guess:

since ive made the installation over ssh, the installation somehow use enviroment variables/id/hostname of my laptop and from there everything else took place.

second guess:

i have the same linux version on both computer and thats what the identification of a new device is all about. not probable. i dont think so.