fix examples and doc