Fixed typo in internal function name