removing useless string copy