bugfix, when comparing uint16, uint32 and uint64