corrected ME_ENDPOINT length check