Pagignation fix for the first page