make change for code review feedback: remove var which already declare