delete unnecessary variable.