remove redundant var