fix pagination on recommendation page