cleanup and simple roots