bugfix, use little-endian 'short'