Fix endianess