fixed no client variable