rebuild vars