cleanup after CR