fix code sample syntax