fixes make pagination for all page