workaround msvs variant init bug