adapt to the latest kaminari hack