reinit variables only if present