fixed string_explode by picking a safer collection approach