Fixed client variable name and example code