Fix array snippet