fix bug to not pass vote to gostat function