cleanup after rename