minor aded quit and reset to client