correction in generateVotingPIN functionaliity in DAO