made it compileable on VS fix

some of these functions just don't work there