fix all array declaration syntax