fixed host url bug