fix a bug: adding >0 condition in parse() function to support csv data properly