fixed an issue with some endianness on the ps3