rename xtmp to tmp and remove var path