remove unnecessary var