trying to fix new bug about vote logging