reset method in wrong scope