quick fix for pagination and adding year param to setPage