regen references with last master