Bug fixed: bad call to getHost() method.