cleaning up in bytestring