fix domain connection with port, show current address in address bar

coding standard T &var -> T& var