Fixed a missing function call