fixed pagination for devices