fixed call to missing function