fix code samples formatting