added server root check