Fix duplicate variable name.