fixed a bug: access array of exploded string