fixed error in example