Fix 'function not found'