Fix get remote.