Remove duplicated variable definition