fixed reinstall mode