remove trailing dot from domain names