fixes for the doc and example