Fixing bitorder stuff