fix always gen new ints when edit vm settings