cleanup code for wbthrottle.