avoid unneeded string copy