debugged win conditional not working