delete unnecessary var