Corrected byte conversion