fix root node can not rorate problem