remove redundant var

remove redundant var