fix reset method