rm redundant var
Merge pull request #1353 from zhiyelee/fixredundant

rm redundant var