fixed yet another endian issue (I used the wrong define for it)