Fixed var name to prevent console errors while updating variants