Fixed root check