added global preserve for old vars