purge before reinstall