Fix non-existing function

The function doesn't exist because of a typo.