wrong logic for votes item + remove debug code