Fix incorrect saved variables name