Fixed a reference to a function that didn't exist