remove garbage after upgrade