Fix bug in resetMany