Fix get bytes