fixed: listings was a list of lists, needed to be flattened