remove extra useless variable definintion