fix documentation code sample