rename duplicate variable