remove root and change config