Clean up patches