add hack for nocopy for string <-> slice