fix code sample