fix votes controller