fixing paginate for QA