fixed minor error in code example