remove unnecessary temp var string