fix internal method typo