corrected endianess