Fix in reset method.