fix bug private function close