fix array definition