Fix problem removing root