it's not really a problem anymore as i've changed it to be a pbytearray instead