fix variable order in hyper cube.