Fix reference to a function that doesn't exist