fixing DefaultClient variable