replaced UINT16_MAX at 2 other places