fix code sample formatting