delete unnecessary variable