added collapse_key = text.to