Merge pull request #467 from peternewman/e1.37-2

Fix some endian issues