move the controlling part of resetInternalState into Basetool