fixup! do not copy underlying bytes in substr function