protect and manage root for selector