fix forgotten var update