fixed foreach bug. fixed array parse bug. add escape char.