undid replace and reset