change the base url path as host_factory; and remove a debug print