Fix reset() warnings