fixed pagination issue of wrong route