Multiple Pagination in one view limit not working and giving wrong total record



I have to paginate two queries in one view pagination is not working properly
i am following
pagintion limit is not working giving 10 out of 10 records every time


This should work:

Are both queries are using same model ?


i am using this reference, and both the models are different,
i have done this is prior version of cake facing issue in latest


post some code from controller and template