fixing warnings for draft election screen