fix array declaration list