Fixed problem with changed byte order