Fix pre-setup enviroment mess.