Fix bug when doing uli on remote site.