fixed variant accept