fixed votes generator to not need to be shut down