Fix 'internal bug