fix array dimension part