Fix the issue in Byte conversion