fix redirect after vote bug