fix partial variant check