Fix reinstall problem