pipeline cleanup