fix some issues with example docs