clean up after change