Fixing bytes representation