I think you also need to check if you're uninstalling shoes here as this will be called for every uninstall