fix direct connect online variable