cleanup output collection