fixed case whe length of array in parse is 0