Fixes minor private function issue