removed root check