change root to correct one