doc example cleanup