fixed pagination count