Update bracket issue
solve outofbounds exception and trim codes
Replace argList.getIndex with flag