Fix double eval bug. Fix delete root from tree bug