fix array declaration