refactor(main) fixed private function name