rm unnecessary temp var