Remove duplicate variable definition