fixed a bug in lib: access array of exploded string