fixed pagination number bug