win checking now works. the error was exceptionally dumb. feel free to look at it.