fix ref to missing function