fix bug in WordEndian