bug fix  for BigEndiannes