small bugfix on to_str_list util