fix broken bytesToString defs