delete redundant var