resolved an issue not showing pagination while not using navigation