fix some no use var