Voting working on two windows with problems