fixes some more visual studio warnings