fixed error in an example