Fix Reset Logic.