parse list and str