fix reset, don't call reset twice