fix: preun fix as per upstream