remove duplicated variable