remove some cruft and trigger a rebuild