fix bug after vote