Merge pull request #12495 from netchampfaris/hotfix-add-ac-2

[fix] is_root check