Fixed 'win' var/method clash