re-added root check