bug in var command fixed for array syntax