fix remote IP for CLI