fixed error in the example