example gallery cleanup