Renamed length to byte, since this is problematic (only) on the client. Fixed some fomratting