fix for visual studio