fix access error in WordEndian class declare