DOC fix code insertion bug