fix bug? when disconnect frame comes