rm unnecessary var