Fixing research of root element