catch NoElement exception, voting works