fixed voting on multiple pages