more fixes, this time on index pagination