Delete custom paginate function