fix examples and modify number of refines