remove check if root at the beginning