there seems to be a bug in the cast vote