array declaration fix