fix visual studio erros (really)