fix msc warnings