check win on server side