UI - fix fqdn algorithm