Cleanup after reinstall