cleaned up win check fix