save before variable rename