[REFACTOR] eliminate dead variable